//
//  LoginMiddleView.m
//  YJlandlord
//
//  Created by 文彬 on 2018/6/28.
//  Copyright © 2018年 文彬. All rights reserved.
//

#import "LoginMiddleView.h"



@implementation LoginMiddleView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (void)awakeFromNib{
    
    [super awakeFromNib];
    
    self.backgroundColor = [UIColor clearColor];
    self.loginBtn.layer.cornerRadius = 5;
    
    NSAttributedString *attrString = [[NSAttributedString alloc] initWithString:@"请输入手机号" attributes:@{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:self.phoneTxtField.font}];
    self.phoneTxtField.attributedPlaceholder = attrString;
    NSAttributedString *codeattrString = [[NSAttributedString alloc] initWithString:@"请输入验证码" attributes:@{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:self.codeTxtField.font}];
    self.codeTxtField.attributedPlaceholder = codeattrString;
    
}

@end
